package cn.net.xyan.blossom.dto.security

import cn.net.xyan.blossom.kotlin.NoArg

@NoArg
data class Permission(var name:String,var permission: String)

@NoArg
data class Role(var role:String,var permissions:List<Permission>){
    var description: String? = null
}

@NoArg
data class User(var username:String,var password:String,var roles:List<Role>){
    var realName:String? = null
}